﻿
@{
    Layout = null;
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>首页</title>
    <meta name="keywords" content="前端模板">
    <meta name="description" content="前端模板">

    <script src="/Content/static/js/jquery/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="/Content/static/layui/layui.js" type="text/javascript"></script>
    <script src="/Content/static/js/index/index.js" type="text/javascript"></script>
    <script src="/Content/static/js/index/freezeheader.js" type="text/javascript"></script>
    <script src="/Content/static/layui/lay/modules/layer.js" type="text/javascript"></script>
    <script src="/Content/static/js/index/sliders.js" type="text/javascript"></script>
    <script src="/Content/static/js/index/html5.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/Content/static/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/Content/static/layui/css/modules/layer/default/layer.css" />
    <link rel="stylesheet" href="/Content/static/css/global.css" />
</head>
<body>
    <div class="layui-container container">
        <div class="layui-row layui-col-space20">
            <div class="layui-col-md8">
                <form class="layui-form" method="get" action="@Url.Action("NoticeList")">
                    <div class="layui-form-item">
                        <div class="layui-input-inline" style="width:76%;">
                            <input type="text" name="publicityName" lay-verify="required" placeholder="请输入关键字" class="layui-input">
                        </div>
                        <button class="layui-btn" lay-filter="*" lay-submit>搜索</button>
                    </div>
                </form>
                <div class="carousel">
                    <div class="layui-carousel" id="images-carousel">
                        <div carousel-item>
                            <div>
                                <a href="article_details.html"><img lay-src="/Content/static/images/1.jpeg" width="100%" height="280px;" /></a>
                            </div>
                            <div>
                                <img lay-src="/Content/static/images/2.jpeg" width="100%" height="280px;" />
                            </div>
                            <div>
                                <img lay-src="/Content/static/images/3.jpg" width="100%" height="280px;" />
                            </div>
                            <div>
                                <img lay-src="/Content/static/images/4.jpg" width="100%" height="280px;" />
                            </div>
                            <div>
                                <img lay-src="/Content/static/images/5.jpg" width="100%" height="280px;" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="article-main">
                    <h2>
                        公告列表
                    </h2>
                    @{ foreach (var list in ViewBag.data)
                        {
                            <div class="article-list">
                                <figure><img lay-src="/Content/static/images/01.jpg"></figure>
                                <ul>
                                    <h3>
                                        <a href="/Community/CheckOnePublicity/@list.Id">@list.publicityName</a>
                                    </h3>
                                    <p>@list.remark</p>
                                    <p class="autor">
                                        <span class="dtime f_l">@list.createTime</span>
                                </ul>
                            </div>
                        }

                    }
                </div>
            </div>
        </div>
    </div>
</body>
</html>
